package com.infosys.setl.fp.demo3;

import org.apache.commons.functor.BinaryFunction;

public class Subtract implements BinaryFunction<Double, Double, Double> {

    public Double evaluate(Double left, Double right) {
        return new Double(left.doubleValue() - right.doubleValue());
    }

}
